package com.mc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mc.model.Xyyd;

public interface XyydMapper {
    int deleteByPrimaryKey(Integer xyydId);

    int insert(Xyyd record);

    int insertSelective(Xyyd record);

    Xyyd selectByPrimaryKey(Integer xyydId);

    int updateByPrimaryKeySelective(Xyyd record);

    int updateByPrimaryKeyWithBLOBs(Xyyd record);

    int updateByPrimaryKey(Xyyd record);
    
    List<Xyyd> xxyds(@Param("start") int start,@Param("size") int size);
    
    int countofxxyds();
    
    List<Xyyd> xxydsbytype(@Param("type") int type,@Param("start") int start,@Param("size") int size);
    
    int countofxxydbytype(int type);
    
    List<Xyyd> searchxxydse(@Param("title")String title,@Param("start")int start,@Param("size")int size);
    
    int countofsearchxxyd(String title);
}